﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for DatabasePage
/// </summary>
public class DatabasePage : OutlookPage
{
	public DatabasePage()
	{
        //if (Session["ConnectionString"] == null)
        //{
        //    Response.Redirect("ConnectionList.aspx");
        //}
	}


    protected string ConnectionString
    {
        get
        {
            if (Session["ConnectionString"] == null)
            {
                Response.Redirect("ConnectionList.aspx");
            }
            return Session["ConnectionString"].ToString();
        }
    }

    protected int ConnectionId
    {
        get
        {
            if (Session["ConnectionId"] == null)
            {
                Response.Redirect("ConnectionList.aspx");
            }
            return Convert.ToInt32(Session["ConnectionId"]);
        }
    }


}